Web Playground

MLBB Endpoint

Interactive request form for this API endpoint.

Each card below maps directly to an API endpoint. Query, path, and request body fields are generated from OpenAPI.

GET Hero Relations

/web/mlbb/heroes/{hero_identifier}/relations

Open Only This

Get information about the relations of a specific hero by ID or name. Supports query parameters for pagination and localization.

Path parameters:

  • hero_identifier: Hero identifier as numeric hero ID or hero name. Accepts values like 30, Yi Sun-shin, or yisunshin.

Query parameters:

  • size: Number of items per page (minimum: 1).
  • index: Page index (starting from 1).
  • lang: Language code for localized content (default: en).

The response includes hero relation data:

  • records: Array of hero entries, each containing:
      • data:
          • hero:
              • data:
                  • name: Hero name.
          • hero_id: Unique hero identifier.
          • relation:
              • assist:
                  • target_hero_id: Array of hero IDs that synergize well.
              • strong:
                  • target_hero_id: Array of hero IDs that are countered.
              • weak:
                  • target_hero_id: Array of hero IDs that counter this hero.

This endpoint is useful for:

  • Understanding hero synergies (assist).
  • Identifying heroes that are countered (strong).
  • Recognizing heroes that counter the selected hero (weak).
  • Building balanced team compositions.
hero_identifier path

Hero identifier as numeric hero ID or hero name. Accepts values like 30, Yi Sun-shin, or yisunshin. Required.

size query

Number of items per page. Minimum: 1.

index query

Page index for pagination. Minimum: 1.

lang query

Language code for localized content.

GET /api/heroes/{hero_identifier}/relations